home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / vga2eps.zip / VGA2EPS.DOC < prev    next >
Text File  |  1992-04-15  |  4KB  |  99 lines

  1.                             15-04-1992
  2.  
  3.         VGA2EPS 
  4.         =======
  5.  
  6. A TSR program to store VGA 640x350 or 640x480 screen to an EPS file
  7.  
  8.  
  9. Author: 
  10.     
  11. Alpo Värri, DSP Lab., Tampere University of Technology, Finland.
  12.  
  13.  
  14. Purpose:
  15.  
  16. The purpose of VGA2EPS is to capture the screen in the VGA 640x350 or
  17. 640x480 sixteen colour mode and store it to a file in Encapsulated
  18. PostScript (EPS) format. This enables a hardcopy of the screen to be
  19. printed using a PostScript compatible printer either directly or
  20. incorporated in another document using a document processing program
  21. which can import EPS files.
  22.  
  23.  
  24. Operation and usage:
  25.  
  26. VGA2EPS is a memory resident program which means that it is first
  27. loaded to memory and later invoked within another program by pressing
  28. a "hotkey". After the memory resident program has completed its
  29. operation, it returns the control to the program from within it was
  30. called.
  31.  
  32. VGA2EPS is loaded to memory by simply typing VGA2EPS at the DOS
  33. command prompt. If the command line option -R is given, the image
  34. will be stored with the pixels reversed. If the program cannot be
  35. loaded to memory for some reason, it displays an error message and
  36. exits.
  37.  
  38. VGA2EPS can be activated by pressing the keys Alt, LeftShift and Z
  39. simultaneously. If the computer is not in the 640x350 16 colour mode,
  40. nothing happens. If the computer is in the correct mode, the screen
  41. is captured and stored to the file VGADMP00.EPS in the default drive
  42. and directory. The completion of the operation is signaled with an
  43. audible tone from the PC's speaker. If the default drive has not
  44. enough free space for the file or a file creation error occurs, it
  45. is signaled by a lower tone.
  46.  
  47. Next time, when Alt-Shift-Z is pressed in the correct mode, the name
  48. of the generated EPS file will be VGADMP01.EPS, etc. continuing until
  49. after the file VGADMP99.EPS. Now the next output file will be named
  50. VGADMP00.EPS again, and the old file, if it exists, will be overwritten.
  51. Note that if you restart VGA2EPS, for example after a boot, the file
  52. VGADMP00.EPS will be overwritten.
  53.  
  54. The image on screen is coded to two binary levels which means that
  55. the background colour on screen will be white on paper and all the
  56. other colours will show as black. Even with this simple coding method
  57. the size of the output file will be almost 58 kilobytes with the
  58. smaller 640x350 image size.
  59.  
  60.  
  61. Application notes:
  62.  
  63. The program requires that a hardware and software compatible VGA
  64. card is installed in the computer with 256 kilobytes of video RAM
  65. (which seems to be quite minimum standard these days) and it eats less
  66. than 20 kBytes of RAM. The program has been briefly tested on three
  67. different IBM PC AT compatible computers and no bugs have been found
  68. yet. The time to capture the 640x350 screen to a hard disk on a
  69. 16 MHz 386-machine was around three seconds. The printouts can
  70. be converted to landscape mode by editing the .EPS file according
  71. to the instructions given in comments. The program can be removed
  72. from memory by using the MARK and RELEASE programs available in
  73. SIMTEL20 and possibly in other FTP sites as well.
  74.  
  75. The screens of Gem Draw, Gem Paint, HyperSignal and some public
  76. domain programs have been successfully captured using VGA2EPS.
  77. Example of such are included as the files EXADMP99.EPS and AUTHOR.EPS.
  78. The files have been successfully printed alone or incorporated
  79. in a document produced with Ventura Publisher 2.0. Microsoft
  80. Windows 3.0 seems to disable the hotkey from functioning.
  81.  
  82.  
  83. Distribution policy:
  84.  
  85. The program has been released to public domain and nobody is
  86. obliged to pay anything or has right to charge anybody for it. It
  87. can be freely copied as long as it is accompanied with the other
  88. files included in this archive file.
  89.  
  90.  
  91. Disclaimer: The program is provided as is without warranty of any
  92. kind, either expressed or implied, etc., etc., why don't you read
  93. the whole story in IBM's manuals.
  94.  
  95.  
  96. The program was created using Turbo Pascal, Copyright Borland
  97. International, 1987-1991 and Turbo Professional, Copyright
  98. Turbo Power Software, 1987.
  99.